package com.study.observer;

public class Main {

	public static void main(String[] args) {
		Subject concreteSubject = new ConcreteSubject();
		Observer concreteObserver = new ConcreteObserver("aa");
		Observer concreteObserver1 = new ConcreteObserver("bb");
		
		
		concreteSubject.attach(concreteObserver);
		concreteSubject.attach(concreteObserver1);
		
		concreteSubject.notifyObservers();
	}

}
